<div id="events_sidebar" class="column column-beta ">
	<div class="ysection" id="add-event">
		<a class="ybtn ybtn-primary add-event"
			href="${siteurl}events/create.htm">新增活动</a>
	</div>
	[#if mes??]
	<div class="ysection" id="upcoming-events">
		<div class="header">
			<h3>你的即将举行活动</h3>
			<a class="ybtn ybtn-small ybtn-more"
				href="/user_details_events?userid=5sGuA5lmNI8wk5QMz3PrkQ">更多 »</a>
		</div>
		<ul class="ylist">
			 [#list mes as item]
			<li>
				<div class="media-block media-block--12 event-listing-medium">
					<div class="media-avatar">

						<div class="photo-box pb-60s">
							<a
								href="/events/%E9%A6%99%E6%B8%AF-%E9%A6%99%E6%B8%AF%E5%9C%8B%E9%9A%9B%E4%B8%83%E4%BA%BA%E6%AC%96%E7%90%83%E8%B3%BD-hong-kong-sevens">
								<img width="60" height="60"
								src="//s3-media1.fl.yelpcdn.com/ephoto/6xJWUN-r1wJwpgnMx5RIDg/60s.jpg"
								class="photo-box-img" alt="香港国际七人榄球赛 / Hong Kong Sevens">

							</a>

						</div>



					</div>
					<div class="media-story">
						<div class="media-title">
							<a href="${siteurl}">${item.name}</a>

						</div>
						<small>[@html.dateweek date=item.starts_month_day_year][/@html.dateweek]</small>
						<div>

							<small class="subtle-text"> 2人有兴趣 </small>

						</div>
					</div>
				</div>

			</li> [/#list] 
		</ul>
	</div>
[/#if]
[#if govs ??]
	<div class="ysection official-events">
		<div class="header">
			<h3>官方Yelp活动</h3>
		</div>
		<ul class="ylist">
			 [#list govs as item]
			<li>
				<div itemtype="http://schema.org/Event" itemscope=""
					class="media-block media-block--12 event-listing-medium">
					<div class="media-avatar">

						<div class="photo-box pb-60s">
							<a href="${siteurl}events/view.htm?id=${item.id}"> <img
								width="60" height="60"
								src="//s3-media1.fl.yelpcdn.com/ephoto/pEwocCExVTVXGJKPPFLuIA/60s.jpg"
								class="photo-box-img" alt="Yelp 三月份活动 Yelp Events in March">

							</a>

						</div>



						<meta
							content="//s3-media1.fl.yelpcdn.com/ephoto/pEwocCExVTVXGJKPPFLuIA/60s.jpg"
							itemprop="image">
					</div>
					<div class="media-story">
						<div class="media-title">
							<a itemprop="url" href="${siteurl}events/view.htm?id=${item.id}">
								<span itemprop="name">Yelp 三月份活动 Yelp Events in March</span>
							</a>

						</div>
						<small>
							<meta content="2015-03-01T00:00:00+08:00" itemprop="startDate">
							<meta content="2015-03-31T23:30:00+08:00" itemprop="endDate">
							[@html.dateweek date=item.starts_month_day_year][/@html.dateweek]

						</small>
						<div>

							<small class="subtle-text"> 13人有兴趣 </small>

						</div>
					</div>
				</div>

			</li> [/#list] 
		</ul>
	</div>
	[/#if]
    [#if recents ??] 
	<div class="ysection">
		<div class="header">
			<h3>最近新增活动</h3>
			<a class="ybtn ybtn-small ybtn-more"
				href="/events/hk/browse?sort_by=added">更多 »</a>
		</div>
		<ul class="ylist">
			[#list recents as item]
			<li>
				<div itemtype="http://schema.org/Event" itemscope=""
					class="media-block media-block--12 event-listing-medium">
					<div class="media-avatar">

						<div class="photo-box pb-60s">
							<a href="${siteurl}events/view.htm?id=${item.id}"> <img
								width="60" height="60"
								src="//s3-media3.fl.yelpcdn.com/ephoto/9DzAKloHneev4Ft8nOjL-w/60s.jpg"
								class="photo-box-img" alt="50 Shades of Rum at Post 97">

							</a>

						</div>



						<meta
							content="//s3-media3.fl.yelpcdn.com/ephoto/9DzAKloHneev4Ft8nOjL-w/60s.jpg"
							itemprop="image">
					</div>
					<div class="media-story">
						<div class="media-title">
							<a itemprop="url" href="${siteurl}events/view.htm?id=${item.id}">
								<span itemprop="name">${item.name!""}</span>
							</a>

						</div>
						<small>
							<meta content="2015-03-24T19:00:00+08:00" itemprop="startDate">
							<meta content="2015-03-24T21:00:00+08:00" itemprop="endDate">
							[@html.dateweek date=item.starts_month_day_year][/@html.dateweek]

						</small>
						<div>

							<small class="subtle-text"> ${item.joins!"0"}人有兴趣 </small>

						</div>
					</div>
				</div>

			</li> [/#list] 
		</ul>
	</div>
[/#if]







</div>